package org.bhf.service;

/**
 * Copyright (c) 2007, Blue Hole Software. All rights reserved.
 * Code licensed under the Apache 2.0 License:
 * http://www.apache.org/licenses/
 */

/**
 * An exception to indicate that the HTTP request was poorly formed and should return a
 * HttpServletResponse.SC_BAD_REQUEST to the browser. This exception may be thrown by the
 * infrastructure when attempting to invoke a service method or it might be thrown by the
 * service method itself to indicate a bad request.
 */
public class IllegalRequestException extends Exception
{
    private static final long serialVersionUID = -8990711592220021358L;

    /**
     * Construct with the specified message.
     *
     * @param message The message.  May be <code>null</code>.
     */
    public IllegalRequestException( final String message )
    {
        super( message );
    }
}

